
<div class="container_grid grid_ad classified">
        <div class="category_head">CLASSIFIED VOTES</div>
        <div class="category_body">
          <?php
          $n = count($this->category);
          $i = 0;
          foreach($this->category as $category){
              $i++;
              ($i<$n)?$separate = ' | ':$separate ='';
              echo  '<a href="/category/'.strtolower($category['title']).'/'.$category['id'].'">'.ucfirst(strtolower($category['title'])).'</a>'.$separate;
          }
          ?>
</div>
</div>